/**
 * Created by 小敏哥 on 2017/11/29.
 */
import {
    CONFIRM_ORDER_INFO
} from "../actions/actionsTypes"

export default function homeReducer(state = {}, action) {
    switch (action.type) {
        case CONFIRM_ORDER_INFO:
            return Object.assign({}, state, {confirmOrderInfo: action.data});
        default:
            return state;
    }
}
